package com.bonjour.work.feign;

import com.bonjour.work.dto.interfaces.IResumeDetail;
import com.bonjour.work.dto.interfaces.IResumeParseRequest;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;

@Component
@FeignClient(name="Parse",url="${server.third.family.uri}",path="/resume")
public interface IResumeParseFeign {
    @PostMapping("/parse")
    IResumeDetail parse(IResumeParseRequest req);
}
